package org.shreker.shan.core.service;

import org.shreker.shan.core.domain.User;

public interface IUserService {
	
	public void save(User user) throws Exception;
	
	public User get(Long id) throws Exception;

	public void sendVerifyCode(String phone) throws Exception;
	
	public void updateCode(Long id, String code) throws Exception;

	public void verifyPhone(String phone, String code);

}
